package com.zjitc.service;

import com.zjitc.common.ServerResponse;
import com.zjitc.model.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/16 15:53
 * @description:
 */
public interface  UserService {
  ServerResponse<User> login(@RequestParam("username") String username, @RequestParam("password") String password);
  ServerResponse<User> register(User user);
  ServerResponse<User> updateInformation(User user);

}
